<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:p="http://primefaces.org/ui"
	template="../templates/template-public.xhtml">

	<ui:define name="content">

		<h:form>
			<div id="login">
				<h:form id="msgGlobal">
					<p:messages showDetail="true" id="msgLogin" for="msgLogin"
						autoUpdate="true" globalOnly="true" closable="true" />
				</h:form>

				<div id="painel-login">
					<span id="painel-login-titulo">Faça seu login...</span>
					<p:outputLabel style="margin-top: 45px;">
						<p:inputText id="login" style="width:230px;"
							value="#{LoginMB.login}"></p:inputText>
						<p:watermark for="login" value="Login" />
					</p:outputLabel>
					<p:outputLabel>
						<p:password id="senha" style="width:230px;"
							value="#{LoginMB.senha}"></p:password>
						<p:watermark for="senha" value="Password" />
					</p:outputLabel>
					<p:outputLabel>
						
						<span><a href="#" style="color: #333; font-size:13px ">Esqueci minha senha</a></span>
					
						<p:commandButton style="float:right;" value="Entrar"
							action="#{LoginMB.efetuarLogin}"></p:commandButton>
					</p:outputLabel>
				</div>



			</div>
		</h:form>

	</ui:define>

</ui:composition>